.ui-pagination {
  overflow: hidden;
  margin:0 auto;
}
.ui-pagination > * {
  float: left;
}
.ui-pagination label {
  display: inline-block;
  width: auto !important;
  margin-right: 5px;
  font-size: 12px;
  line-height: 27px !important;
  color: #777;
}

.ui-pagination label em {
  display: inline-block;
  padding: 0 3px;
  text-align: center;
}

.ui-pagination span {
  display: inline-block;
  width: 44px;
  height: 27px;
  line-height:27px;
  margin-right: 5px;
  font-size:12px;
  color: #666666;
  text-align: center;
  background-color: #fff;
  border:1px solid #e8eaeb;
  box-sizing: border-box;
  cursor: pointer;
}

.ui-pagination span:hover {
  background-color: #ddd;
}

.ui-pagination div {
  display: inline-block;
  overflow: hidden;
}

.ui-pagination ul {
  height: 18px;
}

.ui-pagination li {
  float: left;
  width: 27px;
  height: 27px;
  margin-right: 5px;
  font-size: 12px !important;
  line-height: 27px;
  color: #666666;
  text-align: center;
  background-color: #fff;
  border:1px solid #e8eaeb;
  cursor: pointer;
  box-sizing: border-box;
}

.ui-pagination li:hover, .ui-pagination li.current {
  background-color: #e51c23;
  color: #fff;
}

.ui-pagination input[type=input] {
  width: 33px;
  height: 15px;
  padding: 4px 0;
  border: 1px solid #ddd;
  text-align: center;
  vertical-align: top;
  color: #666;
  box-sizing: content-box;
  -webkit-box-sizing: content-box;
}

.ui-pagination input[type=button] {
  width: 35px;
  height: 25px;
  margin: 0 5px;
  border: 1px solid #ddd;
  text-align: center;
  vertical-align: top;
  color: #666;
  cursor: pointer;
}
